package com.hancher.gamelife2;

import com.hancher.common.net.NetUtil;

import java.util.Map;

import io.reactivex.rxjava3.core.Observable;
import retrofit2.http.FieldMap;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.POST;

/**
 * 描述 :  <br/>
 * 时间 : 2023/11/18 14:27 <br/>
 * 作者 : Hancher ytu_shaoweijie@163.com
 */
public interface NetInterface {
    String HOST = "http://www.kuaidi100.com/";

    NetInterface service = new NetUtil<>(NetInterface.class).setBaseUrl(HOST).build();

    @POST("/query")
    @FormUrlEncoded
    Observable<NetBean> test(@FieldMap Map<String, String> map);
}
